package com.platform.comm.dto;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.util.List;

/**
 * 缺省交换配置映射信息
 *
 * @author Tommy
 */
@EqualsAndHashCode(callSuper = true)
@Data
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public class DirTemplateFieldDto extends BaseQo {
    private static final long serialVersionUID = 7645418650002231400L;

    private String templateId;
    private String fieldName;
    private String fieldTitle;
    /**
     * 可以适当增加提示信息
     */
    private String fieldDesc;

    /**
     * 列序号
     */
    private short colNo;
    private BigDecimal colWidth;
    private String required;
    private String requiredMark = "N";
    private String validValue;
    private String dictCode;
    private List<String> valuesList;
    private List<String> codesList;
    private String status;
    private String controlType;
    private String dataLength;

    private String dataType;
}
